package com.mujin.keji.collectionsystem.module.outboundtask.repository;

import android.arch.lifecycle.LiveData;

import com.mujin.keji.collectionsystem.base.BaseDto;
import com.mujin.keji.collectionsystem.base.CommonRepository;
import com.mujin.keji.collectionsystem.http.Api;
import com.mujin.keji.collectionsystem.module.outboundtask.dto.ApplyCaseDto;
import com.mujin.keji.collectionsystem.module.outboundtask.vo.ApplyCaseVo;

/**
 * 查询拜访列表
 *
 * @author weishixiong
 * @Time 2018-05-10
 */


public class ApplyCaseRepository extends CommonRepository<ApplyCaseDto> implements IApplyCaseRepository {
    /**
     * 查询案件列表
     *
     * @param vo
     * @return
     */
    @Override
    public LiveData<BaseDto<ApplyCaseDto>> queryApplyCase(ApplyCaseVo vo) {
        return request(Api.queryApplyCase(vo)).send().get();

    }

}
